package com.muse.nacos.provider.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;

/**
 * @description
 * @author: muse
 * @create: 2021-08-08 21:33
 **/
@Slf4j
@RequestMapping("/provider")
@RestController
public class ProviderController {

    /**
     * http://localhost:7000/provider/hello
     * @return
     */
    @RequestMapping("/hello")
    public String hello() {
        log.info("provider hello");
        return "provider hello";
    }
}
